package net.googlecode.exigenlab.task3;

import java.math.BigDecimal;

/**
 * Created by IntelliJ IDEA.
 * User: dima
 * Date: 3/25/11
 * Time: 8:33 PM
 * To change this template use File | Settings | File Templates.
 */
public class Manager {
    private String firstName;
    private String lastName;
    public int age;
    public BigDecimal rate;
    public boolean perHour;
    public boolean bonus;
    public BigDecimal bonusAmt;

    public Manager(String firstName, String lastName) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.bonusAmt = BigDecimal.ZERO;
    }

    public String name() {
        return firstName + " " + lastName;
    }

    public boolean perHour() {
        return perHour;
    }

    public boolean bonus() {
        return bonus;
    }
}
